﻿<?php
@session_start();
if (!isset($_SESSION["taikhoan"]))
	{
		header("Location: dbcl-dangnhap.php");
	}
include 'connect.php'; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Cập nhật thông tin</title>
<style type="text/css">
<!--
a	{
		color: #006600;
		text-decoration: none;
	}
.mau{background:#FFCC99;}
image{border:none;}

a:hover { COLOR: #CC0000}

.style1 {
	color: #FFFFFF;
	font-weight: bold;
	font-size: 30px;
}
.style2 {
	font-size: 18px;
	font-weight: bold;
	color: #FFFFFF;
  
}
.style3 {
	font-size: 16px;
	color: #FFFFFF;
  
}
.style4 {color: #006600; font-weight: bold; font-size: 18px; }
.style5 {color:#0000000; font-weight: bold; font-size: 18px; }
.style14 {font-size: 14px; font-weight: bold; color: #FFFFFF; }
.style17 {
	color: #000099;
	font-weight: bold;
}
.style19 {	color: #FFFFFF;
	font-weight: bold;
	font-size: 30px;
}
-->
</style>
</head>

<body>
<?php
        $macb=$_SESSION['dbcl']; 
        $sql=mysql_query("select ten_cb from `can bo ttdbcl` where ma_cb='$macb'");
		$r=mysql_fetch_row($sql);
		$tencb=$r[0];
?>

<table width="900" height="600" border="0" bordercolorlight="#CCCCCC" align="center" cellpadding="0" cellspacing="0" style="border:1px solid #CCCCCC">

<!-- đầu trang --> 	
<tr> <td width="900" height="70" background="image/header.gif">
    	
        <table width="100%" height="100%" border="0"> 
          <tr>
       		
          <td width="10%" rowspan="2"><img src="image/logo.gif" width="100%" height="70" /></td>
            
            <td width="60%" rowspan="2" height="70" align="center" style="font-size:24px"><div align="center">
              <blockquote>
                <p><span class="style19">Website ĐÁNH GIÁ HỌC PHẦN</span></p>
              </blockquote>
          </div></td>
   		  	
          <td width="32%" valign="bottom"> <table>
       		  <tr><td valign="bottom">
           	  <div align="center" class="style14">
              	<a class="style14" href="helpdbcl.htm" target="_blank">Hướng dẫn</a> | <a class="style14" href="dbcl-trangchu.php">Trang chủ</a> | <a class="style14" href="logout.php">Thoát</a></div></td></tr>
       	  	  <tr><td valign="bottom">
           	  <div align="center" class="style14">Xin chào,<?php echo $macb; ?> -  <?php echo $tencb; ?></div></td></tr> 
   	  	  </table> </td>
        
        </tr> </table>
    
    </td> </tr>
<!--menu ngang -->
   <tr bordercolor="#999999" height="10" valign="top">
             <td valign="top" >
							<style> 
							#navbar { margin: 0; padding: 0; height: 1.5em;} 
							#navbar li { list-style: none; float: left; font-size:18px; font-weight:bold;} 
							#navbar li a { display: block; padding: 3px 8px; background:url(image/bg_header.gif); color: #fff; text-decoration: none;width:11.58em; text-align:center;} 
							#navbar li ul { display: none; width:8em; background:url(image/bg_header.gif);} 
							#navbar li:hover ul, #navbar li.hover ul { display: block; position: absolute; margin: 0; padding: 0; } 
							#navbar li:hover li, #navbar li.hover li { float: none; } 
							#navbar li:hover li a, #navbar li.hover li a { color:white;} 
							#navbar li a:hover { background:url(image/header.gif); } 
							</style> 
							
							 
							<ul id="navbar">
								<li><a href="dbcl-capnhat.php?nav=cntc">Cập nhật Tiêu Chí</a></li>
								<li><a href="#">Cập nhật Học Phần</a>
								      <ul>
									        <li>
											        <a href="dbcl-capnhat.php?nav=cnhp">Upload file Học Phần </a>
											</li>
									  </ul>
								</li>
								<li><a href="dbcl-capnhat.php?nav=capnhat">Cập nhật Lớp Học Phần</a>
								   <ul>
										  <li>
											 <a href="dbcl-capnhat.php?nav=cnlophp">Upload file Lớp HP </a>
										  </li>
										  <li>
											 <a href="dbcl-capnhat.php?nav=upload">Upload file Đăng kí HP </a>
										  </li>
										  
								   </ul>
								</li>
								<li><a href="#">Cập nhật Thời Gian</a>
								    <ul>
										  <li>
											 <a href="dbcl-capnhat.php?nav=cntg">Thời Gian Đánh Giá </a>
										  </li>
										  <li>
											 <a href="dbcl-capnhat.php?nav=cnhk">Cập nhật Học Kì</a>
										  </li>
										  
								   </ul>
								</li>
								
							</ul>


			 </td>
   </tr>

<!-- thân trang -->  	
    <tr height="450"> 
	      <td valign="top" bordercolor="#FFFFFF">
						  <?php
						  if (isset($_GET['nav']))
						  {
						           $nav = $_GET['nav'];
								   if ($nav=="cntc") include "dbcl-capnhattieuchi.php";
								   else if($nav=="cntg") include "dbcl-capnhatthoigian.php";
								   else if($nav=="cnhp")  include "dbcl-uploadhocphan.php";
								   else if($nav=="cnlophp")  include "dbcl-uploadlophp.php";
								   else if($nav=="upload")  include "dbcl-uploadhoc.php"; 
								   else if($nav=="themtieuchi")  include "dbcl-themtieuchi.php";
								   else if($nav=="cnhk") include "dbcl-capnhathocki.php";
								   else if($nav=="capnhat") include "dbcl-capnhatlophp.php";
							}	   
								    
						  ?>
         </td>
	 </tr>

<!-- cuối trang -->  
	<tr> 
	      <td height="28" background="image/footer.gif" class="style3" align="center" > Copyright @ by Đỗ Thị Thùy Linh
	     </td>
    </tr>
<!-- het cuoi trang-->

</table>

</body>
</html>

